where was the rise of the planet of the apes filmed