Flow and transport in hierarchically fractured rock