Spin effects with polarized protons at RHIC