Boundary-value problems for PDEs arising in the valuation of structured financial products