Local structure of the supported Keggin and Wells-Dawson heteropolyacids and its consequence on their (photo)catalytic activity