He, C, N, and O abundances in an ensemble of galactic planetary nebulae