An inverse problem for a general convex domain with impedance boundary conditions