Diagnostic for the radiotherapy use of laser-accelerated proton beams