Paulino shuts down Yankees as Royals win 5-1