Australia 'foils plot to bring down' plane in terrorist attack