Beam heating of thick targets for on-line mass separators