Isomorphisms of generalized Cayley graphs