Importance of charging in atomic resolution scanning tunneling microscopy:Study of a single phosphorus atom in a Si(001) surface