Egypt court sentences Morsi to 3 years for 'insulting the judiciary'