Preparation of macroporous carbons from phase‐inversion membranes