Discrete variable approaches to tetratomic molecules: part II: application to H2O2 and H2CO.