Financial models in continuous time with self-decomposability: application to the pricing of energy derivatives