Novel valley depolarization dynamics and valley Hall effect of exciton in mono- and bilayer MoS$_2$