A man wielding a large knife killed two women and injured several other people at an Ismaili Muslim centre in Lisbon, Portugal.