Effects of smartphone addiction on cognitive function and physical activity in middle-school children: a cross-sectional study