Structure function measurements and kinematic reconstruction at HERA