Comparison of microwave and lower frequency plasmas for thin film deposition and etching