Spinors in euclidean field theory, complex structures and discrete symmetries