Rellich inequalities with weights