Spin and Pin^- structures, immersed and embedded surfaces and a result of Segre on real cubic surfaces