what is the function of human chorionic gonadotropin