Harnack Inequalities for Log-Sobolev Functions and Estimates of Log-Sobolev Constants