A Swindon man has admitted arranging sexual activity with a six-year-old and four-month-old baby.