Proper motions, mean parallaxes and space velocities of RR Lyrae variables