Top local cohomology modules with specified attached primes