Engineers use graph networks to accurately predict properties of molecules and crystals