Preparation of ordered porous NaCl and KCl crystals