Synthesis of piperazine derivatives and related compounds as possible central nervous system depressants