Skulls placed at the perimeters of Bronze Age settlements in Germany and Switzerland may have been gifts to lake gods to ward off flooding, new research suggests.