Alkaline earth guests in polyoxopalladate chemistry: from nanocube to nanostar via an open-shell structure.