Electrostatic potential shape of gate-defined quantum point contacts