Scanning tunneling microscopy of adsorbed molecules: theoretical considerations