Pressure-induced layer-nonlayer transformation in InSe