Preparation of silicon nitride foam with three-dimensional interconnected pore structure