Advances in optics in the medieval Islamic world