Enhancing the optical absorption of chalcogenide perovskite BaZrS3 by optimizing the synthesis and post-processing conditions