Dependence of the critical temperature in overdoped copper oxides on superfluid density