Benney–Lin and Kawahara equations: a detailed study through Lie symmetries and Painlevé analysis