The distance to the galactic centre derived from RR Lyrae variables, the distribution of these variables in the galaxy's inner region and halo, and a rediscussion of the galactic rotation constants