Semi-empirical model for permittivity of warm dense matter