Bureaucratic delays and bribe-taking