Learning to Quantize and Precode in Massive MIMO Systems for Energy Reduction: a Graph Neural Network Approach