Obtaining charge distributions on geometrically generic nanostructures using scanning force microscopy.