Scaling properties of diffusion-limited reactions on fractal and euclidean geometries