Reaction of methyl and tert-butyl hypochlorite with cyclopentadiene