Multipoint study of magnetosheath magnetic field fluctuations and their relation to the foreshock