Twist-three effects in two-photon processes