Charge density wave and superconducting phase in monolayer InSe