Classification of skew morphisms of cyclic groups which are square roots of automorphisms