Computation of the critical point for the random-cluster model on Z^2 via parafermionic observables