Trading off between equity and efficiency in dictator and trust games