A model of hopping and band DC photoconduction in doped crystals