Wavelengths, energy levels, and analysis of the second spectrum of chlorine (Cl ii)*