Egypt army takes Morsi into custody