Real estate investment trust Boston Properties Inc. plans to start construction by the end of 2020 of its long-planned office tower at Fourth and Harrison streets in San Francisco, a project that could help ease the city's increasing shortage of office space.