Sri Lanka parliament approves state of emergency