Semigroup approach to diffusion and transport problems on networks