Matt Joyce's homer helps Rays beat Marlins 5-1