The first research into the effects of oil and gas development on babies born near wells has found potential health risks.