The representation rings of orthogonal groups