A dynamic CVaR-portfolio approach using real options: An application to energy investments