Man who threw boiling water on gay couple sentenced