Estimation of self-fertilization rate and allelic frequencies in diploidized tetraploids