1,082 police personnel get gallantry medals