Functional hydrogel density patterns fabricated by dip-pen nanolithography and photografting.