Electronic defects and conjugation length in mesoscopic pi-systems