Self-mixing laser sensor for short-distances measurement