Faulting and fluid flow in porous rocks and sediments: implications for mineralisation and other processes