Optical studies of the regions of the gamma-ray bursts of 19 November, 1978 and 5 March, 1979