Transmission coefficient for one-dimensional potential barriers using continued fractions