Unleashing the Power of LLMs in Dense Retrieval with Query Likelihood Modeling