Technology gives us an opportunity to make cities more open, inclusive and democratic. But only if it's used in the right way, says Barcelona's chief technology officer, Francesca Bria