Integration with respect to the Euler characteristic over a function space and the Alexander polynomial of a plane curve singularity