Mechanisms and management of ovarian failure