The country's pan-Arabist president died of a heart attack aged 52; he ruled for 16 years and was succeeded by Sadat