Continuous-wave and Q-switched operation of a resonantly pumped Ho 3+:KY3F10 laser