Influence of inhomogeneous strain relaxation on the photoluminescence of II-VI nanostructures