Building structures with high thermal inertia based on phase change materials