Shock acceleration of diffuse ions at the Earth's bow shock: Acceleration efficiency and A/Z enhancement