Analytical electromagneticsolution for Bragg mirrors with graded interfaces and guidelines forenhanced reflectivities