NLO corrections to processes with electroweak bosons at hadron colliders