Salvador Perez, Alex Gordon shine in Royals win