Nonlocal effects in ellipsometry of metallic films on metals