Thin films of topological crystalline insulator SnTe in contact with heterogeneous atomic layers