Experimental study of the edge radial electric field in different drift configurations and its role in the access to H-mode at ASDEX Upgrade