An A4 flavor model for quarks and leptons in warped geometry