Egypt sentences three journalists to life in prison