Biological treatment of hypersaline wastewater in a continuous two-phase partitioning bioreactor. Analysis of the response to step, ramp and impulse loadings and applicability evaluation