Special values of L-functions and the arithmetic of Darmon points