CO gas opto‐electronic sensor using semiconductor graphene nanoribbons: A first‐principles study