Safety Verification and Navigation for Autonomous Vehicles based on Signal Temporal Logic Constraints