Cohomology Rings of Compact Connected Groups and Their Homogeneous Spaces