Quantization of unimodular gravity and the cosmological constant problems