Keir Starmer says he took the decision to quit as PM after spending the weekend with his family.