Measurement of b jet shapes in proton-proton collisions at $$ \sqrt{s} $$ = 5.02 TeV