Energy transfer processes in Er3+‐ and Yb3+‐doped infrared upconversion materials