Species conservation and the principal–agent problem