Characterization of a 2.5 MV inline portal imaging beam