Arsenal's hopes of reaching the Champions League final were dashed after a dramatic 2-1 defeat to Paris St-Germain at the Parc des Princes.