Text this: Enhanced sensing capabilities of UV–visible p-n and p-i-n photodiodes using unique layer and contact configurations