Optical detection of a BCS transition of lithium-6 in harmonic traps