I'll be answering the question as in its body, which does not match the title (double encryption implicitly refers to using the same block cipher for each encryption, when the question is explicitly about two block ciphers).
With only the hypothesis that $A$ and $B$ are secure block ciphers sharing block size and key size, we can't conclude that the compound block cipher $G$ defined by $c=G_k(m)=A_k(B_k(m))$ is secure. An extreme example is that $G$ could be the identity function (e.g. $B$ could be AES-256 encryption, and $A$ AES-256 decryption).
And we can't make a rigorous exception for that case: $A$ and $B$ can interact badly in many ways to that $G$ is weak when $A$ and $B$ are secure (e.g. $B$ could be AES-256 encryption except for a modified S-box in the first SubBytes, and $A$ straight AES-256 decryption, so that $G_k$ is a transformation with no diffusion between bytes of a block, and quite a weak transformation of each byte).
On the other hand, there are (overwhelmingly many) cases where $G$ is more resistant to attack than either $A$ or $B$ is (e.g. $B$ could be AES-256 encryption reduced to the initial AddRoundKey and first 7 rounds, and $A$ AES-256 encryption reduced to the last 7 rounds, so that $G$ is the full AES-256). Thus we can't hope for general attacks working against $G$.
Thus, sorry to say, but what's explored with the question's body appears to be a dead end.