Recent advances in carbon nanotube-based electronics