Curfew imposed in parts of Thailand