Bolton have completed the signing of striker Jermaine Beckford from Championship rivals Leicester for an undisclosed fee.