Timekeeping between art and science: integrated approaches to the history of Mamluk astronomy