Magnetoconductance of a two-dimensional metal in the presence of spin-orbit coupling