Biomineralization-Inspired Confined-Space Fabrication of Polyimide Aerogels.