Cluster-spin-glass behavior in layered LiNi0.4Mn0.4Co0.2O2