Ex-Australian prime minister blasts Albanese's government for AUKUS deal