Energy efficiency and nutrition in societies based on human labor