Egypt court sentences 139 protesters in mass trial