Computation and analysis of protein circular dichroism spectra