Mechanical behaviour of liquid-crystalline polymers and their networks