The Princess Royal has officially opened the £145 million Gull Wing Bridge – the largest rolling bascule bridge in the world.