Structure, magnetism, electrical transport, and optical properties of the electron-doped quasi-2D manganates LaxCa3-xMn2O7