Brendan Taylor made a career-best 171 in Zimbabwe's first-innings total of 389 on day two of the first Test against Bangladesh in Harare.