Learning Graphs from Smooth and Graph-Stationary Signals with Hidden Variables