San Francisco bidding to reverse image of a city in decline as host of APEC trade summit