A white-box model of S-shaped and double S-shaped single-species population growth