Smoothness of Metropolis-Hastings algorithm and application to entropy estimation