ASM-BDDC Preconditioners with Variable Polynomial Degree for CG- and DG-SEM