Morsi sentenced to three years for ‘insulting judiciary’