Method of using diketopiperazines and composition containing them