Fungal primary and opportunistic pathogens: an ecological perspective