Wave statistics in intermediate and shallow water depths