Acrylamide derivatives as antiallergic agents. III. Synthesis and structure-activity relationships of N-[4-(4-diphenylmethyl-1-piperazinyl)butyl]- and N-[4-(4-diphenylmethylene-1-piperidyl)butyl]-3-heteroarylacry lamides.