Crystal Palace beat Shakhtar Donetsk 5-2 on aggregate to reach the Conference League final in Leipzig on 27 May.