Johan Hård of Segerstad — Swedish nobleman, soldier and civil servant