Egypt court bans Hamas activities