Sri Lanka gives emergency powers to military, police after clashes kill seven