Tunnel channels, charge transfer, and imaging mechanisms in scanning tunneling microscopy