Anharmonic effect on unimolecular reactions with application to the photodissociation of ethylene.