Ariarne Titmus sets up swim rivalry with Katie Ledecky with 400m win