Renault and Nissan agree to loosen alliance as Japanese carmaker finds itself in financial trouble