A newly discovered ‘pain switch’ in our brains could unlock safer medications