Intensity noise reduction in a single-frequency ytterbium-codoped erbium laser