Three British nationals are among the 16 who died after the iconic Gloria funicular in Lisbon derailed and crashed, authorities have said.