Teleportation of atomic states via resonant atom–field interaction