Influence of MoS2 quantum dots size on the properties of memristor devices