Structure and electronics in 1H-pyrrol-2-ylmethylene compounds