Diagnosis and remediation of deficiencies in basic understanding and prospective teachers of secondary school physics