Light nuclei in supernova envelopes: A quasiparticle gas model