On motion of the court or written motion of either party, the court shall require a written report of a presentence investigation of a defendant convicted of a felony, and such defendant shall not be sentenced or otherwise disposed of before such report has been presented to and considered by the court.