Population transfer and quantum entanglement implemented in cold atoms involving two Rydberg states via an adiabatic passage