Energy performance optimization of phase change materials considering the building micro‐environment