Unsteady flow and heat transfer through triply periodic minimal surfaces