The abundances of gallium and germanium in terrestrial materials