On interpolation of Banach algebras and factorization of weakly compact homomorphisms