Two gay-rights activists, including editor of Bangladesh's only LGBT magazine, have been hacked to death in Dhaka.