Statistical inference of 2-type critical Galton–Watson processes with immigration