Prophet Inequalities via the Expected Competitive Ratio