Microscopic coupled-channel study of the five-nucleon system with the resonating-group method