Weak reactions on 12C within the continuum random phase approximation with partial occupancies