Phase transitions and modulated structures in aluminate sodalites