Cofiniteness and associated primes of local cohomology modules