The River Avon burst its banks in Malmesbury, Wiltshire, and residents barricaded their homes with sandbags.