Vogelsong helps Giants beat Marlins 5-2