A Framework for Multiscale Transforms on Graphs