Controlled positive and negative surface charge injection and erasure in a GaAs/AlGaAs based microdevice by scanning probe microscopy