Egypt court upholds prison sentences for prominent activists