Invariance transformations of the class y ″ = F(x) y N of differential equations arising in general relativity