Capacitive sensor for micropositioning in two dimensions