Chemical effects in negative muon capture in some ionic and covalent solids and ionic aqueous solutions