A theory on power in networks