Joint pricing of default-free and defaultable claims in a reduced-form model featuring a martingale part