Influence of stimulated recrystallization on the crystal and electronic surface structure of thin CdS films