Metallic oxide p-I-n junctions with ferroelectric as the barrier