Correlations between the structural transformations and concentration quenching effect for RE-implanted ZnO systems