Role of laparoscopy in the diagnosis and treatment of adnexal masses.