What Controls the Occurrence of Heavy Oil and Tar Sand?