Random differential equations and applications