Thermal conductivity and specific heat of non-crystalline solids: Polystyrene and polymethyl methacrylate