Dual-Mode Visual System for Brain-Computer Interfaces: Integrating SSVEP and P300 Responses