The mass-concentration relation in massive galaxy clusters at redshift ~1