Frechet derivatives in inverse obstacle scattering