Identification of anti-diabetic pharmacophore from fungal endophytes and discern of its mode of action.