Energy redevelopment of historical centres in the pursuance of the cost-effectiveness principle