A study of the formation of compound nucleus states by absorption of 30 to 90 MeV photons in Sn, Ce, Ta and Pb nuclei