Text this: Historical and scientific analysis of Iranian illuminated manuscripts and miniature paintings