Ocean processes in climate dynamics : global and mediterranean examples