Quantum Liouville theory and BTZ black hole entropy