If a parent or the guardian ad litem requests shared custody of a child and the court denies the request, the reasons for the denial shall be stated on the record.