Behavioral and network origins of wealth inequality: insights from a virtual world