Learning from 2D: Machine learning of 3D effective properties of heterogeneous materials based on 2D microstructure sections