who was the first elected president of pakistan