Charge spectra of cosmic ray nuclei measured with CR-39 detectors in low earth orbit