Valley- and spin-filter in monolayer MoS2