Vibrational spectrum of akermanite-like silicates and germanates