Application of quantum chemistry in nanotechnology: spin and electron transport phenomena through molecular junctions.