Preparation and electrochemical properties of organic–inorganic hybrids with the use of alkylammonium or alkylviologen cations and polyoxometalate anions