Miami real estate investor buys Rochester medical office building