Structural and enzymatic characterization of an esterase from a metagenomic library