Rigid three-dimensional Ni3S4 nanosheet frames: controlled synthesis and their enhanced electrochemical performance