People use inverse planning to rationally seek social information from objects