Engineering biomaterials to control cell function