Roughness lengths for temperature and momentum over heterogeneous terrain