Thousands of people in northern NSW cut off as heavy rain moves down the coast