Settlement Adaptation to a Changing Coastline: Archaeological Evidence from Tanzania, during the First and Second Millennia AD