Finite-Time Stabilization and Impulse Control of Heat Equation with Dynamic Boundary Conditions