A theoretical analysis of river bars stability under changing channel width