Egypt sentences three to death for attacks on police