Fréchet differentiability for a damped sine-Gordon equation