Knotting of random ring polymers in confined spaces.