Multiplicative structure of the cohomology ring of real toric spaces