Abelian surfaces in products of projective spaces