Teoria maszyn i mechanizmów