Stability study of sulfonated phthalic and naphthalenic polyimide structures in aqueous medium