Study reveals why the eldest sibling is the smartest