Optical mass sensing with a carbon nanotube resonator