Resource allocation of chilean herbs in response to climatic and microclimatic factors