UK economy grows despite Brexit turmoil