The stability and structure of high miller index platinum crystal surfaces in vacuum and in the presence of adsorbed carbon and oxygen