Flexible metadata harvesting for ecology using large language models