Stability properties of an inverse parabolic problem with unknown boundaries