State of emergency declared in Ferguson after protests