On stress and driving force calculation within multiphase-field models : Applications to martensitic phase transformation in multigrain systems