All metal oxide-based transparent and flexible photodetector