Localized exciton states in silver halides