Bunch-by-bunch Beam Length Measurement Using Two-frequency System at SSRF