Text this: Partition potential for hydrogen bonding in formic acid dimers