Black hole spin and size of the X-ray-emitting region(s) in the Seyfert 1.5 galaxy ESO 362-G18