Local thermal expansion in copper: extended x-ray-absorption fine-structure measurements and path-integral Monte Carlo calculations