Permeability partitioning through the brittle-to-ductile transition and its implications for supercritical geothermal reservoirs