Oscillator strength study of the 2D–3D exciton transition in CdTe/(Cd,Mn)Te quantum wells and superlattices