Nonparametric maximum likelihood approach to multiple change-point problems