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