Nonstationary local reorientation of a nematic liquid crystal in a cell with a silicon p-n junction