Optimal control of workpiece thermal state in creep-feed grinding using inverse heat conduction analysis