Wave forces on vertical and composite breakwaters