Structure determination of metastable cobalt films deposited on GaAs