Proton beam emittance growth in the Relativistic Heavy Ion Collider