Popular dating apps like Tinder, Bumble and Hinge will be asked to commit to a new code of conduct from Tuesday.