Statistical methods to quantify environmental flow and its variability in a Mediterranean environment