Formulate an answer to this elaborate question: The Sanskrit love poem Kokila Sandeśa was modeled upon the Meghadūta of Kālidāsa, which was in turn primarily based on what type of Indian writings?
Indian Puranas