Elastic buckling and second-order behaviour of pitched-roof steel frames