Interactions between climate and energy policies: the case of Spain