Orbital order and spontaneous orthorhombicity in iron pnictides