V:YAG as passive Q-switch at 1342 nm and 1064 nm