Spin and Pin ̄structures, immersed and embedded surfaces and a result of B. Segre on real cubic surfaces