Trade-off between reproductive effort and adult survival in oviparous and viviparous fishes