Amplitude squeezing from second-harmonic generation in a laser cavity