Investigation of the controls of fluid flow through shale and their relation to its mechanical properties