Nonlocality and Willis coupling in acoustic metamaterials and metasurfaces