Discuss the principles of vehicular ad hoc networks (VANETs) and their applications in intelligent transportation systems (ITS), including mobility management and safety-critical communication.