The PARAFAC model in the maximum likelihood approach