Change-point detection in mean and variance or both