Security gates and doors