Synchronized Q-switching of 1064 and 1342 nm laser cavities using a V:YAG saturable absorber