Positrons in Imperfect Solids: Theory