Structural studies of adsorbed alkanethiols on Cu(111) by use of S and C K-edge X-ray absorption fine structures