Dynamical model for the polar-incommensurate transition in BaMn F 4