Feasibility study of a verification method for proton and carbon ion radiotherapy plan delivery accuracy check