A male contraceptive pill has passed safety tests and could be available within a decade