European banks with a high share of female directors are less likely to lend to high-polluting firms, according to a study by the European Central Bank (ECB).