St. Joseph girls capture Class M basketball championship