4He dose- and track-averaged linear energy transfer: Monte Carlo algorithms and experimental verification