One-particle density matrix functional for correlation in molecular systems