Two-particle interferometry for noncentral heavy-ion collisions