Tigers, Royals try to snap out of offensive funks