Inhomogeneity effects on the structure and dynamics of water at the surface of a membrane: a computer simulation study