Recent advances in inorganic 2D materials and their applications in lithium and sodium batteries