Text this: Generation of Q-switched and mode-locked pulses with Eu<inf>2</inf>O<inf>3</inf> saturable absorber