Distributed Estimation from Relative and Absolute Measurements