Protein secondary structure from circular dichroism spectra