Lindemann-like size-independent glass-transition criterion for polymers