Egypt frees activists amid criticism of rights record