Comparative Study of Carbon Nanotube Composites as Capacitive and Piezoresistive Pressure Sensors under Varying Conditions