On the generalized Hardy-Rellich inequalities