Template removal from SAPO-34 crystals and membranes