York City promoted into League Two