Loney, Ethier homer; Dodgers beat Marlins 3-2