Weighted infinitesimal unitary bialgebras of rooted forests, symmetric cocycles and pre-Lie algebras