Growth of carbon nanotubes by catalytic decomposition of CH4 or CO on a NiMgO catalyst