Facile green synthesis of crystalline polyimide photocatalyst for hydrogen generation from water