Electromechanical and optical effects in photorefractive materials