Electrostatic scanning force microscopy images of long molecules: single-walled carbon nanotubes and DNA