Optical diode action from axially asymmetric nonlinearity in an all-carbon solid-state device.