Exciton absorption spectrum of thin CsPbI3 and Cs4PbI6 films