Inductive sensors for harsh applications