Diffusion of emerging bipolar magnetic pairs in solar photosphere