Surface micromachined solenoid on-Si and on-glass inductors for RF applications