12C ion beam dose distribution in presence of medium inhomogeneities: comparison between different measurements and simulations with the treatment planning system for particles trip98