Simple real-time 3-D displacement measurement by fringe analysis using a photorefractive interferometer