Optimal Prudential Regulation of Banks and the Political Economy of Supervision