Hamilton hits 4 HRs as Rangers beat Orioles 10-3