Comparison of heterogeneous and homogeneous electron-transfer rates for some nitroalkanes and diketones