Well-posedness of solutions to a phase-field model for the martensitic phase transformations