Motivational dynamics among eating-disordered patients with and without nonsuicidal self-injury: a self-determination theory approach