Secondary radiation measurements for particle therapy applications: charged particles produced by 4He and 12C ion beams in a PMMA target at large angle