Kids raised by gay couples benefit when parents marry, pediatricians say