Monte Carlo dose calculations for a 6-MV photon beam in a thorax phantom