Effect of energy consumption in the contact zone on machining condition optimization in precision surface grinding