Adhesion between an underfill and the passivation layer in flip-chip packaging