Understanding and preventing corruption: a regulatory approach