Light-particle spectra observed in central and peripheral collisions of 16O + 238U at 20 MeV/nucleon