Phantom energy versus cosmological constant: Comparative results via analytical solutions of the Wheeler-DeWitt equation