Compounds the following formula: wherein Z is as described in the specification, pharmaceutically acceptable salts thereof, compositions comprising the same, and methods of treating bipolar disorder, an anxiety disorder, a mood disorder or schizophrenia or other psychotic disorder with said compounds.