Properties of molecules in tunnel junctions