Intensity distribution of scalar waves propagating in random media