Topological field theory on r-spin surfaces and the Arf invariant