Floquet theory and stability for a class of first order differential equations with delays