A Unified Framework for Structured Graph Learning via Spectral Constraints