Application of portfolio theory to risk-based allocation of surveillance resources in animal populations.