Kazakhstan declares state of emergency amid unrest