Britain joins France, Germany, Spain and the Netherlands in withdrawing from charter it says ‘penalises’ shift to net zero