Orbital solution and dynamical masses for the nearby binary system GJ 67 AB