Renormalization and mixing in lattice QCD: The case of the chromomagnetic operator