27-year-old man with 'unsound mind' beaten to death in Kerala