Undiagnosed pneumonia and pressure sores are behind the rise in hospitals in England.