D-mannose for preventing and treating urinary tract infections