The physics of transmutation in critical or subcritical reactors