Food and predators affect egg production in song sparrows.