Characterization of ZnO metal–semiconductor–metal ultraviolet photodiodes with palladium contact electrodes