Social inequality and its dynamics in spotted hyenas