Ecological quality ratios for ecological quality assessment in inland and marine waters