Stokes denies Australia in incredible Ashes ending