Returns a read-only reference to the last element of the vector.
If the vector is empty, the behavior is undefined.