Hernandez, Cruz lead Mariners past A’s 8-2