Age-related decline of cognitive resources precedes and explains the decline in physical activity