Cosmological gravitational waves - Their origin and consequences