Oscillating airfoils. I - Wedges of arbitrary thickness in supersonic and hypersonic flow