The UK economy showed strong growth in the first three months of the year, according to official figures.