Guided modes in a plane elastic layer with gradually continuous acoustic properties