Mattel to buy Hit Entertainment