St. Mary defeats St. Thomas to win title