Hosmer carries Royals to 4-3 win over Orioles