Planar test structures for characterizing impurities in silicon