Sri Lanka authorities were warned of attacks two weeks ago, says minister