Prior residency as a key determinant of social dominance in the willow tit (Parus montanus)