Predicting porosity, permeability, and tortuosity of porous media from images by deep learning