Wireless sensor networks in relic protection: deployment methodology and cross-layer design