Ferroelectric and optical properties of Pb5Ge3O11 and its isomorphous compound Pb5Ge2SiO11