Conductance of quantum point contacts calculated using realistic potentials