Non-global logarithms and jet algorithms in high-pT jet shapes