Diffusion-limited reactions in one dimension