Hyperuniformity of Point Patterns and Two-Phase Composite Media