Image forces in tunnel and point-contact spectroscopy