Gauge invariant overlaps for classical solutions in open string field theory