How is abnormal uterine bleeding diagnosed?