Logarithmic convexity and impulsive controllability for the one-dimensional heat equation with dynamic boundary conditions