Self-organized criticality in sandpile models