The DEEP2 Galaxy Redshift Survey: the relationship between galaxy properties and environment at z∼ 1