Loans linked to ESG face overhaul by under-pressure banks