GISAXS and SAXS studies on the spatial structures of Co nanowire arrays