Vicinage effect for hydrogen clusters in Si3N4 and SiO2