Spectroscopic transit search: a self-calibrating method for detecting planets around bright stars