New test can determine the sex of a baby at 10 weeks