A genomics approach to females with infertility and recurrent pregnancy loss