Coalescence of two spinning black holes: an effective one-body approach