Controlled crystalline structure and surface stability of cobalt nanocrystals.