Long-wavelength vertical-cavity lasers and amplifiers