A deformed matrix model and the black-hole background in two-dimensional string theory