The theory of panspermia or the cosmic origin of life