Coup-proofing, reconstruction, and resource allocation in fragile and post-conflict countries