Frictional energy dissipation in contact of nominally flat rough surfaces under harmonically varying loads