UALM: Unified Audio Language Model for Understanding, Generation and Reasoning