Estimating credit default swap spreads from equity data