Spinor fields in Bianchi type-I universe