Stochastic Shortest Path with Energy Constraints in POMDPs