Dose monitoring in particle therapy