Frequency Dependent Mechanical Properties of Elastic Metamaterials with Locally Resonant Microstructures