Repetition rate control in continuous-wave- pumped, passively Q-switched solid-state lasers