Self-Tuning: Instructing LLMs to Effectively Acquire New Knowledge through Self-Teaching