The literary background to Bach's cantatas