Mechanochemical synthesis of intermetallic compounds