Are the following sentences correct?<br/>If so, what is the difference?<br/><br/>(A) He was sleeping for two hours.<br/>(B) He had been sleeping for two hours.<br/><br/>Thank you.