Noncommutative geometry inspired wormholes and dirty black holes