Temperature dependent magnetic anisotropy in metallic magnets from an ab initio electronic structure theory: L1(0)-ordered FePt