Jeter's homer helps Yankees to 6-2 win over Royals