Normal Forms for Retarded Functional Differential Equations and Applications to Bogdanov-Takens Singularity