Semelparity and iteroparity