Schema-aware Reference as Prompt Improves Data-Efficient Relational Triple and Event Extraction