Longoria sets Rays’ record for career HRs