Bangkok has been declared a disaster zone after devastating floods swept through Thailand's capital.