Residents in towns by the River Severn spent an anxious night as water threatened to top flood defences.