LHC optics measurement with proton tracks detected by the Roman pots of the TOTEM experiment