A rigorous and unified mass lumping scheme for higher-order elements