UvA-DARE ( Digital Academic Repository ) Gravity modes as a way to distinguish between hydrogen-and helium-burning red giant stars