Crosslinked polymer, method for producing the same, molecular sieve composition and material separation membranes