How were the rubaiyat and the 1001 nights the same?