Iron(II) spin-crossover complexes in ultrathin films: electronic structure and spin-state switching by visible and vacuum-UV light.