St. Joseph defeats Stamford in boys basketball