The engineering of a three-dimensional liver may shed light on effects of chemicals in the environment