A Novel Framework for Designing Directional Linear Transforms with Application to Video Compression