Training Language Model to Critique for Better Refinement