Structure and function of the agroforestry system in the Pithoragarh district of Central Himalaya: an ecological viewpoint