Coumarin-4-doped sol-gel coating film as optical pH sensor