Home Science Scotland and Ireland rock formation dating back ‘hundreds of millions of years’ shows historic global freeze, study says