Homogenization-informed convolutional neural networks for estimation of effective transport properties in porous and fractured media