inductive proximity sensor how it works