Linear and fractal diffusion coefficients in a family of one-dimensional chaotic maps