Alkanethiolate Reorientation during Metal Electrodeposition