Effective action and holography in 5D gauge theories