Frame-Based Filter-Function Formalism for Quantum Characterization and Control