Design And Implementation Of A Scanning Probe Microscope For Local Measurements Of The Electrochemical Potential In Two-Dimensional Materials