Royals earn 8-7 comeback win over Rockies