Egypt court orders Morsi detention over Hamas collaboration