Experimental and theoretical studies on a distributed temperature sensor based on Brillouin scattering