Mutual influence of two intramolecular hydrogen bonds in 1,3,5-triketones