Controlling growth of aligned carbon nanotubes from porous silicon templates