Electroabsorption study of excited states in hydrogen-bonding solids: epindolidione and linear trans-quinacridone