San Francisco firm buys downtown Sacramento office tower for $46m