In-situ post deposition annealing of lead-free ferroelectric thin films in oxygen rich atmosphere