Factors affecting the outcome of full pulpotomy in permanent posterior teeth diagnosed with reversible or irreversible pulpitis