Seismology of sunspot atmospheres