First-principles calculations of electronic and optical properties of Mn-doped cubic HfO2