Determination of Ag+ions by a graphene oxide based dual-output nanosensor with high selectivity