Penumbral imaging for measurement of the ablation density in laser-driven targets