Optimal technology choice and investment timing: A stochastic model of industrial cogeneration vs. heat-only production