Calibration and monitoring of the MEG experiment by a proton beam from a Cockcroft–Walton accelerator