Johnson Controls has reported a 19% rise in quarterly earnings thanks to increased sales, the benefit of the weak dollar and a lower tax rate.