A hybrid virtual–boundary element formulation for heterogeneous materials