Egypt's former president Mohammed Morsi dies after court hearing