Quaternionic Darmon points and arithmetic applications