Olivares, Rivera homer, Royals top Tigers 7-4, take 2 of 3