A phase-field model for quasi-incompressible solid-liquid transitions