First principles studies of the potential-induced lifting of the Au(100) surface reconstruction