Zaslat záznam emailem: A max-margin model for efficient simultaneous alignment and folding of RNA sequences