Brazil's former president Bolsonaro sentenced to 27 years for plotting attempted coup