Estimating allometric energy allocation between somatic and gonadic growth