Thirty-minute preparation of microporous polyimides with large surface areas for ammonia adsorption