Structural, electrical and optical characterization of Mn doped CdO photodiodes