Greedy Structure Search for Sum-Product Networks