Govt should buy Indian military hardware: Ex-Army chief