HP beats expectations on rising commercial PC sales