Dynamic modulation of frontal theta power predicts cognitive ability in infancy