A magnetostatic-coupling based remote query sensor for environmental monitoring