Highly space-confined ammonium perchlorate in three-dimensional hierarchically ordered porous carbon with improved thermal decomposition properties