Ancient Egyptian medical knowledge revealed by 3,500-year-old texts