Compact Nd:YAP/V:YAG nanosecond pulse generator at 1342 nm