Effects of the functional groups amino and nitro on the reactivity of benzoxazoles and comparison with homologous benzothiazoles