Effective thermal expansion coefficients and specific heats of composite materials