Hammel helps Rockies beat Marlins 3-1