Which local anesthetic has the longest duration of action and is commonly used for spinal and epidural blocks?