Spinor fields in general relativity