Hybrid Probabilistic Programs: Algorithms and Complexity