Effective stomatal and boundary‐layer resistances of heterogeneous surfaces