Force constants of BN, SiC, AlN and GaN sheets through discrete homogenization