The International Olympic Committee has been warned about the potential damaging effects of genetic sex testing