On the inverse energy transfer in rotating turbulence