LanHEP — a package for automatic generation of Feynman rules in field theory