Optimal Investment and Pricing in Models where the Underlying Asset May Default