Negative thermal expansion in crystals with the delafossite structure: an extended x-ray absorption fine structure study of CuScO2 and CuLaO2