Assessment and control of imperfections in crystals for laser devices