Scotland 'faces demographic time bomb' as over-65s outnumber under-15s