Dosimetry and quality control of scanning proton beams by