Profile reconstruction of a continuously stratified layer from reflection data on acoustic waves