Mechanisms of etching and polymerization in radiofrequency discharges of CF4–H2, CF4–C2F4, C2F6–H2, C3F8–H2