Gaussian model for refractive indexes of columnar thin films and Bragg multilayers