An Egyptian court sentences former Islamist president Mohamed Morsi to life in prison in an espionage trial in which six co-defendants have been handed death penalties.