Error Sensitivity to Refinement: a criterion for optimal grid adaptation