Modeling and analysis of radio frequency structures using an equivalent circuit methodology with application to charged particle accelerator RF resonators