Calibration of the charge and energy loss per unit length of the MicroBooNE liquid argon time projection chamber using muons and protons