Electronic structure of molecular crystals containing edge dislocations