Response Of Superheated C3F8 And C2H2F4 To Nuclear And Electron Recoils: Applications To Dark Matter Detection