Bose-Einstein correlations for pions produced inp p collisions at 360 GeV/c