Dynamic resource allocation for machine-type communications in LTE/LTE-A with contention-based access