Theresa May has returned to Downing Street and says she intends to form a minority government after losing seats in the General Election.