Flash floods hit southern Thailand and affect half a million people, officials say as the region braces for even more rain.