Critical dissipative estimate for a heat semigroup with a quadratic singular potential and critical exponent for nonlinear heat equations