Legendary women's basketball coach retires