Sri Lanka's acting president declares state of emergency