On the Minty and Stampacchia scalar variational inequalities