A method to implement BAT (Best Available Techniques) in South Mediterranean countries: the experience of BAT4MED project