Multiple-edge EXAFS study of solid and liquid CuBr