Denny’s profits grow despite fall in revenue