Large deviations for singular and degenerate diffusion models in adaptive evolution