Pelé has left hospital after infection