Think Before You Speak: Cultivating Communication Skills of Large Language Models via Inner Monologue