Phase transitions for one and zero dimensional systems with short-range forces