Structural and vibrational properties of solid Mg(OH)2 and Ca(OH)2 - Performances of various hamiltonians