Homolytic vs heterolytic paths in the photochemistry of haloanilines