Probabilistic Analysis for Simple One- and Two-Dimensional Bin Packing Algorithms