Identification of a novel endophytic fungus from Huperzia serrata which produces huperzine A