Radiation from early black holes - I. Effects on the neutral intergalactic medium