Pion correlations in ultra-relativistic heavy-ion collisions