Integrally positive-definite functions on groups