Infrared and thermal studies of the interaction of transition-metal ions with the framework of type-X zeolites