Geomimetics for green polymer synthesis: highly ordered polyimides via hydrothermal techniques