Electronically excited products in the photodissociation of dianthracene and related compounds