Man on tracks in Attleboro hit, killed by train