Relationship of glaciations and rapid changes in organic life to events in outer space