Carter's clutch trey lifts UMass over Harvard