Google has opened a second office in the southern Polish city of Krakow as the US technology giant expands what it says has become its largest engineering hub in the European Union.