Electronic and optical properties of La-doped Sr$_3$Ir$_2$O$_7$ epitaxial thin-films