Gene action and maternal effects on social ranking and its relationship with production traits in pigs