Estimation of natural selection and allele age from time series allele frequency data using a novel likelihood-based approach