Attached primes of the top local cohomology modules with respect to an ideal