Egypt prosecutor orders detention of ousted president Morsi over contact with Hamas, news agency reports