Voigt lineshape functions as a series of confluent hypergeometric functions