Magnetic frustration in the spinel compounds GeNi2O4 and GeCo2O4