UniConv: Unifying Retrieval and Response Generation for Large Language Models in Conversations