Thermoelectric properties of the cubic AgPb10SbTe12