Making the clean development mechanism compatible with the Kyoto protocol