CW and passively Q-Switched operation of a Ho:YAG waveguide laser