Soft Matter in Hard Confinement: Phase Transition Thermodynamics, Structure, Texture, Diffusion and Flow in Nanoporous Media